cmake_minimum_required(VERSION 3.14)

project(socketlib LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_library(socketlib SHARED
  socketlib_global.h
  socketlib.cpp
  socketlib.h
)

target_compile_definitions(socketlib PRIVATE SOCKETLIB_LIBRARY)
